package com.example.huizhou.mapper;

import com.example.huizhou.bean.Student;
import com.example.huizhou.bean.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface StudentMapper {
    List<Student> findAll();
    void save(Student student);
    String findsd(String studentID);
    Student findxs(String studentID);
    void updatepsw(String studentID,String newpsw);
    void add(int Id,String studentID,String name,String password,String sex,String major,String classname,String year,String faculty);
    void delete(int id);
}
